package com.ruoyi.purchase.mapper;

import java.util.List;
import com.ruoyi.purchase.domain.PurchaseStore;

/**
 * 入库Mapper接口
 * 
 * @author wonderland
 * @date 2023-07-17
 */
public interface PurchaseStoreMapper 
{
    /**
     * 查询入库
     * 
     * @param id 入库主键
     * @return 入库
     */
    public PurchaseStore selectPurchaseStoreById(Long id);

    /**
     * 查询入库列表
     * 
     * @param purchaseStore 入库
     * @return 入库集合
     */
    public List<PurchaseStore> selectPurchaseStoreList(PurchaseStore purchaseStore);

    /**
     * 新增入库
     * 
     * @param purchaseStore 入库
     * @return 结果
     */
    public int insertPurchaseStore(PurchaseStore purchaseStore);

    /**
     * 修改入库
     * 
     * @param purchaseStore 入库
     * @return 结果
     */
    public int updatePurchaseStore(PurchaseStore purchaseStore);

    /**
     * 删除入库
     * 
     * @param id 入库主键
     * @return 结果
     */
    public int deletePurchaseStoreById(Long id);

    /**
     * 批量删除入库
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePurchaseStoreByIds(Long[] ids);
}
